import request from '@/utils/request'

// 查询客户端页面对应关系列表
export function listMes_client_pages_relation(query) {
  return request({
    url: '/client/mes_client_pages_relation/list',
    method: 'get',
    params: query
  })
}

// 查询客户端页面对应关系详细
export function getMes_client_pages_relation(relationId) {
  return request({
    url: '/client/mes_client_pages_relation/' + relationId,
    method: 'get'
  })
}

// 新增客户端页面对应关系
export function addMes_client_pages_relation(data) {
  return request({
    url: '/client/mes_client_pages_relation',
    method: 'post',
    data: data
  })
}

// 修改客户端页面对应关系
export function updateMes_client_pages_relation(data) {
  return request({
    url: '/client/mes_client_pages_relation',
    method: 'put',
    data: data
  })
}

// 删除客户端页面对应关系
export function delMes_client_pages_relation(relationId) {
  return request({
    url: '/client/mes_client_pages_relation/' + relationId,
    method: 'delete'
  })
}

// 导出客户端页面对应关系
export function exportMes_client_pages_relation(query) {
  return request({
    url: '/client/mes_client_pages_relation/export',
    method: 'get',
    params: query
  })
}